﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.Serialization;


namespace eLuk.Entity
{
	[KnownType(typeof(eLukFolder))]
	[DataContract( IsReference = true )]
	public abstract class eLukObject
	{
		
		[DataMember]
		public Guid ObjectID { get; set; }

		[DataMember]
		public bool SyncRequired { get; set; }

		public eLukObject()
		{
			this.ObjectID = new Guid();
		}

	}

	[CollectionDataContract( IsReference = true )]
	public abstract class eLukObjects : List<eLukObject>
	{
		public eLukObject First()
		{
			return this[ 0 ];
		}
	}

}
